package com.project.server.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "菜品VO")
public class DishVO {

    @Schema(description = "菜品ID")
    private Long id;

    @Schema(description = "菜品名称")
    private String name;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "描述信息")
    private String description;

    @Schema(description = "状态：0-停售 1-起售")
    private Integer status;

    @Schema(description = "销量")
    private Integer sales;

    @Schema(description = "餐厅ID")
    private Long restaurantId;

    @Schema(description = "餐厅名称")
    private String restaurantName;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
